package com.weds.edwx.mapper;

import com.weds.core.annotation.MyBatisDao;
import com.weds.edwx.entity.DtUserEntity;
import com.weds.edwx.entity.DtUserEntityExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author
 * @Description 管理
 * @Date 2020-03-10
 */
@MyBatisDao
public interface DtUserMapper {
    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    long countByExample(DtUserEntityExample example);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    int deleteByExample(DtUserEntityExample example);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    int deleteByPrimaryKey(Long user_serial);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    int insert(DtUserEntity record);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    int insertBatch(@Param("list") List<DtUserEntity> list);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    int insertSelective(DtUserEntity record);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    List<DtUserEntity> selectByExample(DtUserEntityExample example);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    DtUserEntity selectByPrimaryKey(Long user_serial);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    int updateByExampleSelective(@Param("record") DtUserEntity record, @Param("example") DtUserEntityExample example);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    int updateByExample(@Param("record") DtUserEntity record, @Param("example") DtUserEntityExample example);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    int updateByPrimaryKeySelective(DtUserEntity record);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    int updateByPrimaryKey(DtUserEntity record);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    List<DtUserEntity> selectListByEntity(DtUserEntity record);

    /**
     *
     * @mbg.generated Tue Mar 10 16:24:25 CST 2020
     */
    int deleteBatchByKeys(@Param("list") List<DtUserEntity> list);


    Integer getUserSerial();

    int updateUserSerial(@Param("userSerial") Integer userSerial);

}